package com.site.wisdom_construction.entity.trainingCheckModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-16 
 */
@ApiModel (value ="train_exam_records",description = "")
public class TrainExamRecords {
	/**
	 * 考试记录表id
	 */
   	@ApiModelProperty(value = "考试记录表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 工人id
	 */
   	@ApiModelProperty(value = "工人id", name = "workerId")
	private Integer workerId;

	/**
	 * 工人姓名
	 */
	@ApiModelProperty(value = "工人姓名", name = "workerName")
	private String workerName;

	/**
	 * 培训考试标题
	 */
   	@ApiModelProperty(value = "培训考试标题", name = "trainExamTitle")
	private String trainExamTitle;

	/**
	 * 考试分数
	 */
   	@ApiModelProperty(value = "考试分数", name = "trainExamScore")
	private String trainExamScore;

	/**
	 * 考试结果(不及格 合格 优秀)
	 */
   	@ApiModelProperty(value = "考试结果(不及格 合格 优秀)", name = "trainExamResult")
	private String trainExamResult;

	/**
	 * 考试时间
	 */
   	@ApiModelProperty(value = "考试时间", name = "trainExamTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date trainExamTime;

	public TrainExamRecords(){ super(); }

	public TrainExamRecords(Integer id, Integer projectId, Integer workerId, String workerName, String trainExamTitle, String trainExamScore, String trainExamResult, Date trainExamTime) {
		this.id = id;
		this.projectId = projectId;
		this.workerId = workerId;
		this.workerName = workerName;
		this.trainExamTitle = trainExamTitle;
		this.trainExamScore = trainExamScore;
		this.trainExamResult = trainExamResult;
		this.trainExamTime = trainExamTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getWorkerId() {
		return workerId;
	}

	public void setWorkerId(Integer workerId) {
		this.workerId = workerId;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getTrainExamTitle() {
		return trainExamTitle;
	}

	public void setTrainExamTitle(String trainExamTitle) {
		this.trainExamTitle = trainExamTitle;
	}

	public String getTrainExamScore() {
		return trainExamScore;
	}

	public void setTrainExamScore(String trainExamScore) {
		this.trainExamScore = trainExamScore;
	}

	public String getTrainExamResult() {
		return trainExamResult;
	}

	public void setTrainExamResult(String trainExamResult) {
		this.trainExamResult = trainExamResult;
	}

	public Date getTrainExamTime() {
		return trainExamTime;
	}

	public void setTrainExamTime(Date trainExamTime) {
		this.trainExamTime = trainExamTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", workerId=" + workerId +
				", workerName='" + workerName + '\'' +
				", trainExamTitle='" + trainExamTitle + '\'' +
				", trainExamScore='" + trainExamScore + '\'' +
				", trainExamResult='" + trainExamResult + '\'' +
				", trainExamTime=" + trainExamTime +
				'}';
	}
}
